/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.composition.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.composition.composition.impl.CatImpl;
import za.ac.cput.composition.composition.impl.DogImpl;

/**
 *
 * @author given
 */
@Configurable
public class AppConfig {
    @Bean(name = "dog")
    public DogImpl dog(){
        return new DogImpl();
    }
    
    @Bean(name = "cat")
    public CatImpl cat(){
        return new CatImpl();
    }
}
